﻿using System;
using System.Windows.Forms;


namespace ODM_AddIn
{
    public class AsciiDump : ESRI.ArcGIS.Desktop.AddIns.Button
    {

        public AsciiDump()
        {
        }

        protected override void OnClick()
        {
            try
            {
                ODM_Code.Forms.AsciiDumpForm adf = new ODM_Code.Forms.AsciiDumpForm();
                adf.ShowDialog();
                adf.Activate();
                adf.BringToFront();
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message, "AsciiDump Error");
            }
        }

        protected override void OnUpdate()
        {
        }
    }
}
